/*
 * Copyright 2008 Federal Emergency Management Agency
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at 
 * 
 *    http://www.apache.org/licenses/LICENSE-2.0 
 *    
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and 
 * limitations under the License. 
 *  
 */
package gov.fema.hazus.bdc.client.hazards.wind.hazard;

import com.google.gwt.core.client.GWT;

import gov.fema.hazus.bdc.client.common.ui.AbstractClassificationSchemeListBox;
import gov.fema.hazus.bdc.client.hazards.wind.WindConstants;

public class WindShieldingHeightListBox extends AbstractClassificationSchemeListBox {

	private WindConstants constants;

	public WindShieldingHeightListBox()
	{
		
		constants = (WindConstants)GWT.create(WindConstants.class);
		
		// add all of the items, if null, set to unknown
		this.addItem(constants.schemaWindShieldingHeightUNKNOWN(), "0 = Unknown");
		this.addItem(constants.schemaWindShieldingHeightTALLBLDG(), "1 = Taller Buildings");
		this.addItem(constants.schemaWindShieldingHeightSIMBLDG(), "2 = Similar Buildings");
		this.addItem(constants.schemaWindShieldingHeightSHORTBLDG(), "3 = Shorter Buildings");
		this.addItem(constants.schemaWindShieldingHeightTALLTREES(), "4 = Taller Trees");
		this.addItem(constants.schemaWindShieldingHeightTREEBLDGSIM(), "5 = Tree Height Similar to Building Height");
		this.addItem(constants.schemaWindShieldingHeightSHORTTREES(), "6 = Shorter Trees");
		this.addItem(constants.schemaWindShieldingHeightNONE(), "7 = None");
		this.addItem(constants.schemaWindShieldingHeightOTHER(), "99 = Other");
	}
}

/*
# shielding height
schemaWindShieldingHeightUNKNOWN=Unknown
schemaWindShieldingHeightTALLBLDG=Taller buildings
schemaWindShieldingHeightSIMBLDG=Similar buildings
schemaWindShieldingHeightSHORTBLDG=Shorter buildings
schemaWindShieldingHeightTALLTREES=Taller trees
schemaWindShieldingHeightTREEBLDGSIM=Tree height similar to building height
schemaWindShieldingHeightSHORTTREES=Shorter trees
schemaWindShieldingHeightNONE=None
schemaWindShieldingHeightOTHER=Other
0 = Unknown
1 = Taller Buildings
2 = Similar Buildings
3 = Shorter Buildings
4 = Taller Trees
5 = Tree Height Similar to Building Height
6 = Shorter Trees
7 = None
99 = Other
 */
